import Pubsub from 'pubsub-js'

/** 发布 */
Pubsub.emit = Pubsub.publish
/** 订阅*/
Pubsub.on = Pubsub.subscribe

export { Pubsub }
